<template>
  <div>
    <h1>{{id}}123</h1>
  </div>
</template>
<script>
export default {
  data() {
    return {
      id: this.$route.params.id
    };
  },
  methods: {
    Xinwen() {
      this.$ajax.get("/api/getnew/" + this.id).then(result => {
        this.msg = result.data.message;
        console.log(result);
      });
    }
  },
  created() {
    this.Xinwen();
  }
};
</script>
<style lang="sass" scoped>

</style>
